package com.tianjs.listener;

import org.springframework.context.ApplicationListener;
import org.springframework.stereotype.Service;

import com.tianjs.event.UserRegisterEvent;
@Service
public class SmsService implements ApplicationListener<UserRegisterEvent> {

	public SmsService() {
	}

	@Override
	public void onApplicationEvent(UserRegisterEvent arg0) {
		System.out.println("短信服务接到通知，给 " + arg0.getSource() + " 发送短信...");
	}

}
